package com.example.adminsystem.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

public class UserReq {

    @Data
    public static class UserQuery {

        @Schema(description = "用户名", example = "test1")
        private String username;

        @Schema(description = "昵称", example = "测试用户")
        private String nickname;
    }


    @Data
    public static class UpdateUserRequest {
        @Schema(description = "昵称", example = "测试用户")
        private String nickname;

        @Schema(description = "邮箱", example = "<EMAIL>")
        private String email;
    }

    @Data
    public static class AddUserRequest {
        @Schema(description = "用户名", example = "test1")
        private String username;

        @Schema(description = "昵称", example = "测试用户")
        private String nickname;

        @Schema(description = "密码", example = "123456")
        private String password;

        @Schema(description = "邮箱", example = "<EMAIL>")
        private String email;
    }
}
